package com.dayaokeji.coursetable;

import android.graphics.Color;

/**
 * Created by weihuajian on 16/6/12.
 */
public class ColorUtils {

    public static int getCourseBgColor(int colorFlag) {
        switch (colorFlag) {
            case 0:
                return Color.rgb(230, 185, 90);
            case 1:
                return Color.rgb(222, 135, 141);
            case 2:
                return Color.rgb(125, 200, 71);
            case 3:
                return Color.rgb(113, 147, 228);
            case 4:
                return Color.rgb(135, 217, 183);
            case 5:
                return Color.rgb(228, 0, 63);
            case 6:
                return Color.rgb(0, 210, 235);
            case 7:
                return Color.rgb(255, 162, 42);
            case 8:
                return Color.rgb(181, 33, 141);
            case 9:
                return Color.rgb(255, 100, 101);
            default:
                return Color.GRAY;
        }
    }
}
